package com.cays.myresearch.entity;


public class Question {

  private long id;
  private String title;
  private String name;
  private String content;
  private String time;
  private long answerNum;
  private long lookNum;
  public Question(){}
  public Question(String title,String name,String content,String time,
                  long anserNum,long lookNum){
    this.title=title;this.name=name;this.content=content;
    this.time=time;this.answerNum=anserNum;
    this.lookNum=lookNum;
  }

  public long getId() {
    return id;
  }

  public void setId(long id) {
    this.id = id;
  }


  public String getTitle() {
    return title;
  }

  public void setTitle(String title) {
    this.title = title;
  }


  public String getName() {
    return name;
  }

  public void setName(String name) {
    this.name = name;
  }


  public String getContent() {
    return content;
  }

  public void setContent(String content) {
    this.content = content;
  }


  public String getTime() {
    return time;
  }

  public void setTime(String time) {
    this.time = time;
  }


  public long getAnswerNum() {
    return answerNum;
  }

  public void setAnswerNum(long anserNum) {
    this.answerNum = anserNum;
  }


  public long getLookNum() {
    return lookNum;
  }

  public void setLookNum(long lookNum) {
    this.lookNum = lookNum;
  }
  @Override
  public String toString() {
    return "(title, name, content, time, answerNum, lookNum) value "+
            "(?,?,?,?,?,?)";
  }
}
